package sdfs.server;

import sdfs.namenode.NameNode;
import sdfs.protocol.INameNodeProtocol;


public class NameNodeServer {
    public static void main(String[] args)throws Exception {
        //INameNodeProtocol nameNode =  NameNode.getInstance();
        INameNodeProtocol nameNode = new NameNode();
        Rpc.export(nameNode, NameNode.NAME_NODE_PORT);
    }
}
